A (anchor)

The A object has the same functionality as the A (anchor) tag in HTML. It may be a link or an anchor, and can be used in both Netscape and IE as a member of both the links[] and anchors[] arrays within a document. IE will allow the referencing of this object with a document.all[] statement.

DOM Reference

Internet Explorer

window.document.links[n]
window.document.anchors[n]
window.document.all.elementID


Netscape Navigator

window.document.links[n]
window.document.anchors[n]
The properties of the A object are:

accesskey
className
dataFld
dataSrc
document
hash
host
hostname
href
id
innerHTML
innerText
isTextEdit
lang
language
Methods
mimeType
name
nameProp
offsetHeight
offsetLeft
offsetParent
offsetTop
offsetWidth
outerHTML
outerText
parentElement
parentTextEdit
pathname
port
protocol
protocolLong
recordNumber
rel
rev
search
sourceIndex
style
tabIndex
tagName
target
title
urn

The Methods of the A object are:

blur()
click()
contains()
focus()
getAttribute()
insertAdjacentHTML()
insertAdjacentText()
removeAttribute()
scrollIntoView()
setAttribute()

The Collections and Arrays for the A object are:

all[]
children[]
filters[]

The Event Handlers for the A object are:

onBlur
onClick
onDblClick
onFocus
onHelp
onKeyDown
onKeyPress
onKeyUp
onMouseDown
onMouseMove
onMouseOut
onMouseOver
onmouseUp
onSelectStart